import request from '@/request/request'
// 获取联合体 - 不登录
export function getInnovationList(params) {
    return request({
        url: '/dev-api/alliance/alliance/allianceList',
        method: 'get',
        params,
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 获取联合体详情 - 不登录
export function getInnovationListDetail(params) {
    return request({
        url: '/dev-api/alliance/alliance/info/'+params,
        method: 'get',
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}

// 获取联合体 - 登录
export function getAllianceOptions(params) {
    return request({
        url: '/dev-api/alliance/alliance/list',
        method: 'get',
        params
    })
}

// 获取联合体详情 - 登录
export function getAllianceDetail(params) {
    return request({
        url: '/dev-api/alliance/alliance/'+params,
        method: 'get'
    })
}
// 获取创新课题列表 - 不登录
export function getAllianceCollectingList(params) {
    return request({
        url: '/dev-api/alliance/allianceCollecting/showList',
        method: 'get',
		params,
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 获取创新课题列表详情 - 不登录
export function getAllianceCollectingListDetail(params) {
    return request({
        url: '/dev-api/alliance/allianceCollecting/info/'+params,
        method: 'get',
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 课题组征集我要报名
export function postAllianceCollectingApply(data) {
    return request({
        url: '/dev-api/alliance/collectingMember',
        method: 'post',
		data
    })
}